﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.Practices.Unity;
using MVC.IOC;
using Circle.Web.Drivers.Contract;
using Circle.Web.Drivers;

namespace Circle.Web
{
    public class IocConfig 
    {
        public static void Register(IUnityContainer container)
        {
            container.BindInRequestScope<IAccountDriver, AccountDriver>();
            container.BindInRequestScope<ITopicDriver, TopicDriver>();
            container.BindInRequestScope<ICommentDriver, CommentDriver>();
        }
    }
}
